Mollie\WooCommerce\PaymentMethods\AbstractPaymentMethod A

Total Complexity 69
Dependencies 20
Dependents 3
Total lines 342
Lines of code 216
Logical lines of code 122
Comment lines 78
Methods 40
Properties 4

Methods 40

Method Rating Maintainability Complexity Lines of code
paymentMethodIconProvider()
S
57 6 14
paymentFieldsRenderer()
S
57 4 15
defaultSettings()
S
60 3 12
hasFields()
S
63 3 11
supports()
S
63 3 10
refundProcessor()
S
66 3 8
title()
S
66 3 8
getInitialOrderStatus()
S
71 3 6
titleIsDefault()
S
68 2 7
description()
S
75 2 4
getApiTitle()
S
71 2 5
updateSettingsWithDefaults()
S
64 2 9
getSettings()
S
66 2 8
getProcessedDescription()
S
73 2 4
shouldDisplayIcon()
S
74 2 4
hasSurcharge()
S
78 2 3
isCreditCardSelectorEnabled()
S
73 2 4
formFields()
S
69 1 6
gatewayIconsRenderer()
S
79 1 3
optionKey()
S
80 1 3
registerBlocks()
S
81 1 3
orderButtonText()
S
82 1 3
customSettings()
S
73 1 5
availabilityCallback()
S
69 1 7
methodDescription()
S
80 1 3
__construct()
S
73 1 5
methodTitle()
S
79 1 3
paymentRequestValidator()
S
80 1 3
paymentProcessor()
S
80 1 3
id()
S
80 1 3
isUseApiTitleChecked()
S
79 1 3
getMergedProperties()
S
79 1 3
hasProperty()
S
75 1 4
getProperty()
S
75 1 4
getProcessedDescriptionForBlock()
S
80 1 3
hasPaymentFields()
S
80 1 3
surcharge()
S
82 1 3
getUploadedImage()
S
75 1 4
getIdFromConfig()
S
76 1 4
icon()
S
82 1 3